#!/bin/bash

echo "############################################################"
echo "Running Code tests..."

export APPDATA=appdata/test01
export DOCUMENT_ROOT=/www/dbfoundry.com/htdocs

rm -f phpunit.code.*
> debug.out

phpunit \
       --log-tap phpunit.code.tap \
       --verbose \
       Tests-Code > phpunit.code.out 2> phpunit.code.err

echo "Running Code tests... Complete. exit($?)"
tail -n 10 phpunit.code.tap phpunit.code.err

exit


